package cn.rongdao.jrkabao.ui.main.mainfragment.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.main.vip.MemberBean;
import cn.rongdao.jrkabao.ui.main.mainfragment.uicomponent.ItemMemberPowerUIComponent;


/**
 * Created by jack on 2018/1/26
 */

public class MemberPowerViewHolder extends FRBaseRecyclerViewHolder<MemberBean.VipPrivilegeBean> {

    private ItemMemberPowerUIComponent itemMemberPowerUIComponent;

    public MemberPowerViewHolder(View view) {
        super(view);
        itemMemberPowerUIComponent = (ItemMemberPowerUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(MemberBean.VipPrivilegeBean vipPrivilegeBean) {
        itemMemberPowerUIComponent.setContent(vipPrivilegeBean);
    }
}
